package com.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.st.entity.PageDTO;
import com.st.entity.PageResult;
import com.st.entity.Result;
import com.st.entity.ScenicDetail;

import java.util.List;

public interface IScenicDetailService extends IService<ScenicDetail> {
    //搜索+分页
    PageResult<ScenicDetail> search(PageDTO<ScenicDetail> pageDTO);
    //查找所有景区
    Result scenicSearch();
    //添加景区详情或编辑
    Result addScenicDetail(ScenicDetail scenicDetail);

    Result edit(ScenicDetail scenicDetail);
    //删除
    Result del(ScenicDetail scenicDetail);
    //批量删除
    Result delAll(List<Integer> ids);
}
